<?php 
if(file_exists(get_problem_path($pid))){
	echo '<table style="width:100%" class="noprint"><tr>';
	if(file_exists(get_problem_path($pid-1)))
		echo '<td><a href="index.php?section=problems&amp;id=' . ($pid-1) . '" title="Go to problem ' . ($pid-1) . '"><img src="images/icon_back.png" alt="Back" /></a></td>';
	if(file_exists(get_problem_path($pid+1)))
		echo '<td><div style="text-align:right;"><a href="index.php?section=problems&amp;id=' . ($pid+1) . '" title="Go to problem ' . ($pid+1) . '"><img src="images/icon_next.png" alt="Next" /></a></div></td>';
	echo '</tr></table>';
	include(get_problem_path($pid));
	echo '<div style="text-align:center;"><input  type=button onclick="window.location.href=\'http://projecteuler.net/?section=problems&id=' . $pid . '\'" value="回答此题"></div><br />';
	echo '<div style="margin-left:5%;margin-right:5%;font-size:80%">[注意]: 本页只是题目的中文译文。请点击上面的按钮到英文站验证答案。（验证答案需要在英文站注册）<br />如果发现翻译错误或有什么建议，请在这里 <a href="index.php?section=abouthere">提交反馈</a>，但请勿询问如何解决此题。</div><br />';
}
else {$pid = "NA";  include(get_problem_path($pid));}
?>
